package dao.impl;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import dao.UserDao;
import entity.User;

//@Component("userDao")
@Repository("userDao")
public class UserDaoImpl implements UserDao{
	
	public UserDaoImpl() {
		System.out.println("UserDaoImpl()");
	}

	@Override
	public int save(User user) {
		System.out.println("用户保存");
		return 1;
	}

}
